<%-- 
    Document   : listEmpresa
    Created on : 17/02/2013, 10:55:56 AM
    Author     : Usuario7
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="css/site.css" type="text/css" />
        <title>JSP Page</title>
    </head>
    <body>
        <form id="frmUserList" name="frmUserList" action="">
            <table align="center" border="0px">
                <tr>
                    <td class="" align="center">LISTADO DE USUARIOS</td>
                </tr>
                <tr>
                    <td>
                        <table border="0">
                            <tr>
                                <td colspan="3" align="center">
                                    <div id="divListEmpresa">
                                        <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
                                        <table width="450px" id="listResultEmpresa" class="listResult" cellpadding="2" cellspacing="0" border="0">
                                            <tr>
                                                <td class="titleTable">Usuario</td>
                                                <td class="titleTable">Buscar</td>
                                                <td class="titleTable">Eliminar</td>
                                            </tr>
                                            <c:forEach items="${listUser}" var="e">
                                                <tr>
                                                    <td class="labelForm">${e.user}</td>
                                                    <td class="labelForm" align="center"><a href="/sventas/UserController?action=modificar&codigo=${e.pkUser}"><img src="images/edit.png" border="0"/></a></td>
                                                <td class="labelForm" align="center"><a href="/sventas/UserController?action=eliminar&codigo=${e.pkUser}"><img src="images/delete.gif" border="0"/></a></td>
                                                </tr>
                                            </c:forEach>
                                        </table>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
